package com.ruin.tech.ahri.service;

import com.ruin.tech.ahri.model.dto.ChangePwdDTO;
import com.ruin.tech.ahri.model.dto.Notice;

/**
* @description: 公告编辑
* @param: 
* @return: 
* @author: ruin
* @date: 2019/11/28
*/

public interface INoticeService {
    
    /**
    * @description: 编辑公告
    * @param: []
    * @return: com.ruin.tech.ahri.model.vo.VideoAndNoticeVO
    * @author: ruin
    * @date: 2019/11/28
    */
    public void editNotice(Notice notice);
    
    /**
    * @description: 查询公告信息
    * @param: []
    * @return: com.ruin.tech.ahri.model.dto.Notice
    * @author: ruin
    * @date: 2019/11/29
    */
    public Notice findNotice();

    /**
    * @description: 向邮箱发送短信验证码
    * @param: [changePwdDTO]
    * @return: void
    * @author: ruin
    * @date: 2019/12/24
    */
    public void sendIdCode(ChangePwdDTO changePwdDTO) throws Exception;
    
    /**
    * @description: 获取邮箱验证码
    * @param: [email]
    * @return: java.lang.Integer
    * @author: ruin
    * @date: 2019/12/25
    */
    public Integer getCache(String email);
}
